projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4654dd
)
file chooser: Also apply the settings
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 11 Dec 2015 17:25:31 +0000
(12:25 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 11 Dec 2015 17:25:31 +0000
(12:25 -0500)
I forgot that the settings object we're dealing with here
is in delay mode, so settings won't apply immediately.
gtk/gtkfilechooserdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserdialog.c
b/gtk/gtkfilechooserdialog.c
index 5be8edc359d4270997f98b31656ffab961aa608f..92cd00a1a0c81e8df1d2fcb899564bbcb8be17b5 100644
(file)
--- a/
gtk/gtkfilechooserdialog.c
+++ b/
gtk/gtkfilechooserdialog.c
@@
-643,6
+643,8
@@
save_dialog_geometry (GtkFileChooserDialog *dialog)
g_settings_get (settings, SETTINGS_KEY_WINDOW_SIZE, "(ii)", &old_width, &old_height);
if (old_width != width || old_height != height)
g_settings_set (settings, SETTINGS_KEY_WINDOW_SIZE, "(ii)", width, height);
+
+ g_settings_apply (settings);
}
static void